﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Medianamik.Core.DAL.SQL
{
    public class NullExpression : IExpression 
    {
        private NullExpression()
        {
            
        }

        private static NullExpression _value;
        public static NullExpression Value
        {
            get
            {
                return _value
                ?? (_value = new NullExpression());
            }
        }
        #region ISqlQueryPart Members

        public StringBuilder ToSQL()
        {
            return new StringBuilder(" NULL ");
        }

        #endregion
    }
}
